import { View, Text } from "@tarojs/components";
import React, { useEffect } from "react";
import { httpService } from "src/utils/http";

const Meal = () => {
  useEffect(() => {
    httpService.post('/api/login', {username: 'admin', password: 'admin123'}).then((res) => console.log('success')).catch((err) => console.log('error', err));
  }, [])
  return <View>
    <Text>点单页面</Text>
  </View>
}

export default Meal;